@ECHO OFF

cd %CD%
if exist cocos2d-x-lib rd /q /s cocos2d-x-lib
mkdir cocos2d-x-lib
echo Downloading game engine from DropBox where Alexey Karanin hopefully updated the cocos to the latest version :)
bin\wget.win32\wget.exe http://dl.dropbox.com/u/27771201/cocos.zip
move cocos.zip cocos2d-x-lib
Echo unzipping the archive
cd cocos2d-x-lib
..\bin\unzip.win32\unzip.exe cocos.zip
DEL /Q cocos.zip
echo Building Cocos....
cd cocos2d-x-lib
"build-win32.bat"
pause

::http://dl.dropbox.com/u/27771201/cocos.zip 
